@charset "utf-8";
#ym1,#ym2,#ym3{
  display: none;
}
#ym1:target,
#ym2:target,
#ym3:target{
  display: block;
}

  /* 设置轮播组件占满整个屏幕 */
  .image-slider {
    width: 1000px;
    height: 600px;
  }
  /* 设置每个幻灯片占满父容器 */
  .image-slider .slide {
    width: 1000px;
    height: 600px;
    position: absolute;
    transition: all linear 0.8s;
    overflow: hidden;
  }
  /* 设置图片样式 */
  .image-slider .image {
    width: 100%;
    height: 100%;
    /* 图片自适应，保持比例占满屏幕 */
    object-fit: cover;
    /* 绝对布局，z-index 50放到文字下方 */
    position: absolute;
    z-index: 50;
  }
  /* 设置文本样式 */
  .image-slider .slide .content {
    position: absolute;
    /* 放在图片上方 */
    z-index: 100;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 48px;
    bottom: 0;
    width: 50%;
  }
  /* 标题距下方24px */
  .image-slider .slide .content h1 {
    margin-bottom: 24px;
  }
  /* 控制按钮 */
  #prev,
  #next {
    position: absolute;
    z-index: 150;
    width: 80px;
    height: 80px;
    font-size: 48px;
    color: white;
    text-align: center;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    top: calc(50% - 24px);
    left: 50px;
    transition: all 0.2s;
    cursor: pointer;
  }
  /* 下一张按钮的位置，靠右 */
  #next {
    left: unset;
    right: 50px;
  }
  /* 鼠标移到按钮上时改变背景和字体颜色 */
  #prev:hover,
  #next:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
  }
  /* 隐藏其他幻灯片 */
  .image-slider .slide {
    opacity: 0;
  }
  /* 设置当前正在播放的幻灯片的透明度为1 */
  .image-slider .slide.current {
    opacity: 1;
  }
  /* 图片文字描述动画属性,向下移动500px */
  .image-slider .slide .content {
    opacity: 0;
    transform: translateY(500px);
  }
  /* 当前正在播放的幻灯片的文字描述位置移动到原位 */
  .image-slider .slide.current .content {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-in-out 0.4s;
  }
  @media screen and (max-width: 960px) {
    /* 文字占满屏幕 */
    .image-slider .slide .content {
      width: 100%;
    }
    /* 控制按钮大小和间距缩小 */
    #prev,
    #next {
      font-size: 24px;
      left: 24px;
      width: 48px;
      height: 48px;
      line-height: 48px;
      top: 40%;
    }
    /* 移动下一张按钮，使间距变小 */
    #next {
      left: unset;
      right: 24px;
    }
}
* {
    padding: 0;
    box-sizing: border-box;
}

html body {
    font-size: 18px;
    font-family: "Microsoft YaHei";
    color: #F4F4F4;
    background-color: #3C79BB;
}

a {
    color:  #F4F4F4;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color:#163D5D;
}

.container {
    width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    background-image: linear-gradient(45deg, #3494CC 0%,  #A4CCF4 100%);
}

.header {
    float: left;
    width: 1040px;
    height: 100px;
    line-height: 100px;
    font-size: 48px;
    text-align: center;
}

.nav {
    float: left;
    width: 1040px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    
}
.nav a {
    margin: 0 24px 0 20px;
    color: #B3C8DD;
    text-align: left;
}

.wrapper {
    float: left;
    width: 1000px;
    margin: 5px 0 10px 20px;
    padding-bottom: 20px;
    background-color:#fff;
    border-radius: 5px;
    overflow: hidden;
}
.login{
    margin: 10px 10px;
    border: none;
    outline: none;
    width: 10rem;
    height: 4rem;
    border-radius: 5rem;
    background-color: #163D5D;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}
.login a:hover {
    color:#BCBCBC;
}
.login2{
    margin: 3px 10px;
    border: none;
    outline: none;
    width: 10rem;
    height: 4rem;
    border-radius: 5rem;
    background-color: #163D5D;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

.login2 a:hover {
    color:#BCBCBC;
}
.shell {
    float: left;
    width: 1000px;
    padding-bottom: 10px;
    display: grid;
    padding: 20px;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-auto-rows: 270px;
    grid-auto-flow: dense;
}
.shell>div{
    background-color: #7298A2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: relative;
}
.shell ul li{
    text-align:left;
    margin: 10px 10px 10px 0px;
}
.shell span{
    color: #fff;
    font: 30 30px 'Kristem ITC';
    position: absolute;
    top: -8px;
    right: 10px;
    text-shadow: -3px 0 rgb(0,0,0), 0 -3px rgb(0,0,0),3px 0 rgb(0,0,0),3px 0 rgb(0,0,0);

}

.shell .wide{
    grid-column: span 2;
}
.shell .wide img{
    grid-column: span 2;
    width: 633px;
    height: 270px;
}
.shell .tall{
    grid-row: span 2;
}
.shell .tall img{
    grid-row: span 2;
    width: 306px;
    height: 560px;
}
.shell .big{
    grid-column: span 2;
    grid-row: span 2;
}
.shell .big img{
    grid-column: span 2;
    grid-row: span 2;
    width: 633px;
    height: 560px;
}
.shell .z img{
    width: 306px;
    height: 270px;
}
